package com.example.exampleproject.entity;

import java.io.Serializable;

//实体类 ，（属性依据是select 要查询的字段）
public class EmploymentIndustryEntity implements Serializable {
    //`year` year(4) NOT NULL COMMENT '年份',
    //  `industry` varchar(30) NOT NULL COMMENT '行业',
    //  `quantity` int(11) DEFAULT NULL COMMENT '数量'
    private Integer year;

    private  String industry;

    private  Integer  quantity;

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "EmploymentIndustryEntity{" +
                "year=" + year +
                ", industry='" + industry + '\'' +
                ", quantity=" + quantity +
                '}';
    }
}
